package org.dromara.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.system.domain.ServiceItem;
import org.dromara.system.domain.bo.ServiceItemBo;
import org.dromara.system.domain.vo.ServiceContentVo;
import org.dromara.system.domain.vo.ServiceItemVo;
import org.dromara.system.domain.vo.WechatServiceContentVo;

import java.util.List;

/**
 * 服务项目Mapper接口
 *
 * @author Lion Li
 * @date 2025-07-23
 */
@Mapper
public interface ServiceItemMapper extends BaseMapperPlus<ServiceItem, ServiceItemVo> {


    IPage<ServiceItemVo> findByCondition(Page<ServiceContentVo> pageQuery, @Param("param") ServiceItemBo bo);

    ServiceItemVo findById(Long serviceItemId);

    List<WechatServiceContentVo> findServiceItemContentByTalentLevel(String talentLevel);
}
